package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 寝室信息对象 students_dorms
 *
 *
 * @date 2024-04-16
 */
public class StudentsDorms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 寝室编号 */
    private String dormsId;

    /** 寝室楼栋号 */
    @Excel(name = "寝室楼栋号")
    private String dormsBuiding;

    /** 房间号 */
    @Excel(name = "房间号")
    private Long dormsRoom;

    /** 可容纳人数 */
    @Excel(name = "可容纳人数")
    private Long capacity;

    /** 已容纳人数 */
    @Excel(name = "已容纳人数")
    private Long occupied;

    /** 分配状态 */
    @Excel(name = "分配状态")
    private Long dormsStatus;

    public void setDormsId(String dormsId)
    {
        this.dormsId = dormsId;
    }

    public String getDormsId()
    {
        return dormsId;
    }
    public void setDormsBuiding(String dormsBuiding)
    {
        this.dormsBuiding = dormsBuiding;
    }

    public String getDormsBuiding()
    {
        return dormsBuiding;
    }
    public void setDormsRoom(Long dormsRoom)
    {
        this.dormsRoom = dormsRoom;
    }

    public Long getDormsRoom()
    {
        return dormsRoom;
    }
    public void setCapacity(Long capacity)
    {
        this.capacity = capacity;
    }

    public Long getCapacity()
    {
        return capacity;
    }
    public void setOccupied(Long occupied)
    {
        this.occupied = occupied;
    }

    public Long getOccupied()
    {
        return occupied;
    }
    public void setDormsStatus(Long dormsStatus)
    {
        this.dormsStatus = dormsStatus;
    }

    public Long getDormsStatus()
    {
        return dormsStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dormsId", getDormsId())
                .append("dormsBuiding", getDormsBuiding())
                .append("dormsRoom", getDormsRoom())
                .append("capacity", getCapacity())
                .append("occupied", getOccupied())
                .append("dormsStatus", getDormsStatus())
                .toString();
    }
}

